﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
 /// <summary>
/// 保证金
/// </summary>
    public class Deposit: AuditFiled<int>
    {
        /// <summary>
        /// 客户id
        /// </summary>
        public int?   ClientId { get; set; }

        /// <summary>
        /// 类型Id
        /// </summary>
        public int? ClientTypeId { get; set; }

        /// <summary>
        /// 还款期次
        /// </summary>
        public string? Count { get; set; }

        /// <summary>
        /// 合同保证金
        /// </summary>
        public decimal? ContractBond { get; set; }

        /// <summary>
        /// 已退金额
        /// </summary>
        public decimal? AmountRefunded { get; set; }

        /// <summary>
        /// 剩余保证金
        /// </summary>
        public decimal? RemainingMargin { get; set; }

        /// <summary>
        /// 业务经办
        /// </summary>
        public int? BusinessManagementID { get; set; }

        /// <summary>
        /// 保证金状态
        /// </summary>
        public int? MoneystateID { get; set; }

    }
}
